package com.itheima.area.pojo;

import com.github.pagehelper.Page;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Map;

@Table(name="t_cust_farm")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CustFarm {
    /**
     *
     */
    @Id
    private Long id;

    /**
     * 本农场所属组织
     */
    private Long custid;

    /**
     * 农场编号
     */
    private String code;

    /**
     * 农场名称
     */
    private String name;

    /**
     * 农场状态
     */
    private String status;



    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCustid() {
        return custid;
    }

    public void setCustid(Long custid) {
        this.custid = custid;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}

